<?php
// +----------------------------------------------------------------------
// | 海豚PHP框架 [ DolphinPHP ]
// +----------------------------------------------------------------------
// | 版权所有 2016~2017 河源市卓锐科技有限公司 [ http://www.zrthink.com ]
// +----------------------------------------------------------------------
// | 官方网站: http://dolphinphp.com
// +----------------------------------------------------------------------
// | 开源协议 ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------

/**
 * 插件配置信息
 */
return [  
    ["type"=>'radio', "name"=>'level', 'title' => '容错率', "tips"=>'容错率越高，越容易被扫描到，但图片的复杂度越高，请根据实际需求修改', 'extra' =>['L' => 'L(7%)', 'M' => 'M(15%)', 'Q' => 'Q(25%)', 'H' => 'H(30%)'], "value" =>'H'],
    ["type"=>'radio', "name"=>'size',  'title' =>'图片的大小',"tips"=> '', 'extra' =>[1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5, 6 => 6, 7 => 7, 8 => 8, 9 => 9, 10 => 10], "value" =>10],
    ["type"=>'text', "name"=>'margin',  'title' =>'边距',"tips"=> '二维码的空白区域大小',"value" => '4'],
    ["type"=>'text',"name"=> 'back_color', 'title' => '背景颜色',"tips"=> '默认为白色，请填写rgb',"value" => 'rgb(255,255,255)'],
    ["type"=>'text',"name"=>'fore_color', 'title' => '前景颜色', "tips"=>'绘制二维码的颜色，请填写rgb',"value" => 'rgb(0,0,0)'],
    ["type"=>'text',"name"=> 'logo',  'title' =>'二维码中间的logo',"tips"=>"如果不需要，请勿填写，请填写相对入口文件./开头的物理路径","value"=>"./qrcode/logo.png"],
];